/*
 * Author: Alvin
 * Modified By: Alvin
 * Created Date: 2023-10-08 15:53:23
 * Last Modified: 2023-10-08 15:59:11
 * Description:
 */

import 'package:pull_to_refresh/pull_to_refresh.dart';
import 'package:yt_devops/pages/devices/device_list/device_list_model.dart';

class SiteDeviceListState {
  // bool isNoData = false;
  List<DeviceListModel> dataList = [];
  int pageNum = 1;
  int pageSize = 200;
  final RefreshController refreshController = RefreshController();
  SiteDeviceListState() {
    ///Initialize variables
  }
  bool get isNoData {
    if (dataList.isNotEmpty) {
      return false;
    } else {
      return true;
    }
  }
}
